import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
export default function createSvgIcon(icon_dirs) {
  return createSvgIconsPlugin({
    iconDirs: [icon_dirs],
    symbolId: 'icon-[dir]-[name]',
    svgoOptions: true
  })
}
